qt5quick2: Symlink $PATH/qmlplugindump to /bin/true
authorMirko Vogt <[email protected]>
Mon, 12 May 2025 01:04:00 +0000 (01:04 +0000)
committerMirko Vogt <[email protected]>
Thu, 22 May 2025 10:58:15 +0000 (10:58 +0000)
commit3682c598e59ebe7eadc41f6f21da953f1e9a2aa2
tree93dff1fa40521f08ce28cc26cb1b21fafcf4aae4
parent6244c3ab9186f1d441f671608d62f48366a1e829
qt5quick2: Symlink $PATH/qmlplugindump to /bin/true

qmlplugindump appears to be called at the end of `make`-invocation for
qmake generated projects.

If it fails with exit code != 0 the OpenWrt build fails.

qmlplugindump is apparently needed as a host tool, but can not be
(easily) packaged as a host tool.

The project file states:

  "qmlplugindump cannot be a build tool, because it loads target plugins."

which seems pretty mysterious to me.

So it's needed as a requirement on the host system, and/but natively
installed (newer) versions - at with my Debian's version - started to
fail with:

  "QQmlComponent: Component is not ready"

I have no idea what qmlplugindump actually does or why it's needed.

It seems to do no harm to not invoke qmlplugindump - so
hack-not-even-fix it by just overriding each qmlplugindump invocation.
frameworks/qt5/qt5quick2/Makefile